home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / utils / videot2a.dms / in.adf / VideoTracker_Install < prev    next >
Encoding:
AmigaDOS Script File  |  1992-09-02  |  2.0 KB  |  82 lines

  1. .key test/s,full/s
  2. .bra [
  3. .ket ]
  4.  
  5. echo "*Ec*N                   VideoTracker HD Installation*N"
  6.  
  7. lab nameloop
  8.   echo "Type the name of your hard drive partition onto which you want Videotracker 2 installed, eg Work: (Q to quit) ? " noline
  9.   set >NIL: target ?
  10.   if "$target" EQ "Q"
  11.       skip exit
  12.   endif
  13.  
  14.   if "`echo $target len 1`" NOT EQ ":"
  15.     set target $target:
  16.   endif
  17.  
  18.   if "${target}" EQ "SYS:"
  19.     echo "Error:  cannot install to the VideoTracker disk."
  20.     echo "Please give the volume name of your chosen hard drive partition.*N"
  21.     skip back nameloop
  22.   endif
  23.  
  24.   assign >NIL: exists "${Target}"
  25.   if warn
  26.     echo "Error: partition does not exist.*N"
  27.     skip back nameloop
  28.   endif
  29.  
  30. lab partok
  31.  
  32. assign Target: "${Target}"
  33.  
  34.   copy VT:VideoTracker Target:VideoTracker all  ;copy all effect data
  35.   copy VT:Fonts Target:Fonts all    ;and the fonts
  36.  
  37. if not exists Target:VideoTracker.info    ;and the drawer-info
  38.   copy VT:VideoTracker.info Target:    ;if necessary
  39. endif
  40.   
  41. if exists VT:Archived.LHA        ;Archived ?
  42.   LHA x VT:Archived.LHA Target:VideoTracker/
  43. endif
  44.   
  45. if exists VT:Fonts.LHA           ;Archived ?
  46.   LHA x VT:Fonts.LHA Target:Fonts/
  47. endif
  48.   
  49. if exists VT:S             ;VT main disk ?
  50.  
  51.   copy VT:VideoTracker_Install Target:
  52.  
  53. if not exists Target:VideoTracker_Install.info ;and the installer for
  54.   copy VT:VideoTracker_Install.info Target:  ;data disks !
  55. endif
  56.  
  57.   if not exists Target:C/PPMore        ;the text-viewer
  58.    copy VT:C/PPMore Target:C
  59.   endif
  60.  
  61.   if not exists Target:C/LHA        ;LHA
  62.    copy VT:C/LHA Target:C
  63.   endif
  64.  
  65.   if not exists Target:C/Req        ;the requester-off
  66.    copy VT:C/Req Target:C
  67.   endif
  68.  
  69.   copy VT:Libs/iff.library Target:Libs       ;newest version needed !
  70.  
  71.   if not exists Target:Libs/req.library
  72.    copy VT:Libs/req.library Target:Libs      ;req.library for kick 1.3
  73.   endif
  74.   if not exists Target:Libs/powerpacker.library
  75.    copy VT:Libs/powerpacker.library Target:Libs ;for powerpacked modules
  76.   endif
  77.  
  78. endif
  79.  
  80. lab exit
  81.   echo "*N Finished - you can close the window now."
  82.